package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 主播用户表
 * </p>
 *
 * @author Shane
 * @since 2019-07-11
 */
@TableName("host")
public class Host implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户id
	 */
	@TableField(value="user_id")
	private Integer userId;

	@TableField(value = "`level`")
	private Integer level;

	private Integer wi;

	@TableField(value = "good_rate")
	private Integer goodRate;

	@TableField(value = "success_rate")
	private Integer successRate;

	@TableField(value = "charge_id")
	private Integer chargeId;

	/**
	 *
	 */
	@TableField(value="create_time")
	private Date createTime;

	private String remark;

	@TableField(value = "persion_video")
	private String persionVideo;

	@TableField(value = "wx_no")
	private String wxNo;

	public Host() {
	}

	public Host(Integer userId, Integer chargeId) {
		this.userId = userId;
		this.chargeId = chargeId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getWi() {
		return wi;
	}

	public void setWi(Integer wi) {
		this.wi = wi;
	}

	public Integer getGoodRate() {
		return goodRate;
	}

	public void setGoodRate(Integer goodRate) {
		this.goodRate = goodRate;
	}

	public Integer getSuccessRate() {
		return successRate;
	}

	public void setSuccessRate(Integer successRate) {
		this.successRate = successRate;
	}

	public Integer getChargeId() {
		return chargeId;
	}

	public void setChargeId(Integer chargeId) {
		this.chargeId = chargeId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPersionVideo() {
		return persionVideo;
	}

	public void setPersionVideo(String persionVideo) {
		this.persionVideo = persionVideo;
	}

	public String getWxNo() {
		return wxNo;
	}

	public void setWxNo(String wxNo) {
		this.wxNo = wxNo;
	}
}
